package cn.iocoder.yudao.module.system.controller.admin.officeinfo.vo;

import cn.iocoder.yudao.framework.excel.core.annotations.DictFormat;
import cn.iocoder.yudao.framework.excel.core.convert.DictConvert;
import cn.iocoder.yudao.module.system.enums.DictTypeConstants;
import com.alibaba.excel.annotation.ExcelProperty;
import lombok.*;
import java.util.*;
import io.swagger.v3.oas.annotations.media.Schema;
import cn.iocoder.yudao.framework.common.pojo.PageParam;
import org.springframework.format.annotation.DateTimeFormat;
import java.time.LocalDateTime;

import static cn.iocoder.yudao.framework.common.util.date.DateUtils.FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND;

@Schema(description = "管理后台 - 办公室座位信息分页 Request VO")
@Data
@EqualsAndHashCode(callSuper = true)
@ToString(callSuper = true)
public class SeatinfoPageReqVO extends PageParam {

    @Schema(description = "办公室ID")
    private Long officeId;

    @Schema(description = "座位编号")
    private Long seatNum;

    @Schema(description = "座位状态")
    @ExcelProperty(value = "座位状态", converter = DictConvert.class)
    @DictFormat("seat_status")
    private Integer seatStatus;

    @Schema(description = "座位名称")
    private String seatName;

    @Schema(description = "座位位置")
    private String seatSite;

    @Schema(description = "创建时间")
    @DateTimeFormat(pattern = FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND)
    private LocalDateTime[] createTime;

    @Schema(description = "所属区域")
    private String seatRegion;

}